package org.ecinc.mvc.action;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.ecinc.mvc.form.ActionForm;

/**
 * @desc   给使用框架定义一个规则
 * @author Administrator
 */
public interface Action {

	/**
	 * @desc 具体页面进行具体的业务处理
	 * @param request
	 * @param response
	 * @param form
	 * @param forward
	 * @return reponse 返回数据是字符串类型
	 */
	String execute(HttpServletRequest request, HttpServletResponse response, ActionForm form, Map<String, String> forward);
	
}
